package com.it.myd.service.main.date;

import com.it.myd.bean.box.Record;
import com.it.myd.dao.main.other.RecordDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RecordServiceImpl implements RecordService{

    @Autowired
    private RecordDao recDap;

    public void addRecord(Record rec){
        recDap.insertRecord(rec);
    }

    public void unEffect(Record rec){
        recDap.unEffect(rec);
    }

}
